import Taro, { Config } from "@tarojs/taro";
import { View } from "@tarojs/components";
import "./index.scss";

interface ExchangeNoRecordProps {
  title: string;
  url: string;
}
export const ExchangeNoRecord = (props: ExchangeNoRecordProps) => {
  return (
    <View className="no-record">
      <View className="title">{props.title}</View>
      {/* <View className="pic">
        <Image src={props.url} mode="widthFix" style={{ width: "100%" }} />
      </View> */}
    </View>
  );
};

ExchangeNoRecord.config = {
  navigationBarTitleText: "兑换记录"
} as Config;
